'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_SETUPAPI = 0x0F (15)
    Public NotInheritable Class SetupAPI
        Private Sub New()
        End Sub

        Public Shared ReadOnly SPAPI_E_EXPECTED_SECTION_NAME As HResult = &H800F0000
        Public Shared ReadOnly SPAPI_E_BAD_SECTION_NAME_LINE As HResult = &H800F0001
        Public Shared ReadOnly SPAPI_E_SECTION_NAME_TOO_LONG As HResult = &H800F0002
        Public Shared ReadOnly SPAPI_E_GENERAL_SYNTAX As HResult = &H800F0003
        Public Shared ReadOnly SPAPI_E_WRONG_INF_STYLE As HResult = &H800F0100
        Public Shared ReadOnly SPAPI_E_SECTION_NOT_FOUND As HResult = &H800F0101
        Public Shared ReadOnly SPAPI_E_LINE_NOT_FOUND As HResult = &H800F0102
        Public Shared ReadOnly SPAPI_E_NO_BACKUP As HResult = &H800F0103
        Public Shared ReadOnly SPAPI_E_NO_ASSOCIATED_CLASS As HResult = &H800F0200
        Public Shared ReadOnly SPAPI_E_CLASS_MISMATCH As HResult = &H800F0201
        Public Shared ReadOnly SPAPI_E_DUPLICATE_FOUND As HResult = &H800F0202
        Public Shared ReadOnly SPAPI_E_NO_DRIVER_SELECTED As HResult = &H800F0203
        Public Shared ReadOnly SPAPI_E_KEY_DOES_NOT_EXIST As HResult = &H800F0204
        Public Shared ReadOnly SPAPI_E_INVALID_DEVINST_NAME As HResult = &H800F0205
        Public Shared ReadOnly SPAPI_E_INVALID_CLASS As HResult = &H800F0206
        Public Shared ReadOnly SPAPI_E_DEVINST_ALREADY_EXISTS As HResult = &H800F0207
        Public Shared ReadOnly SPAPI_E_DEVINFO_NOT_REGISTERED As HResult = &H800F0208
        Public Shared ReadOnly SPAPI_E_INVALID_REG_PROPERTY As HResult = &H800F0209
        Public Shared ReadOnly SPAPI_E_NO_INF As HResult = &H800F020A
        Public Shared ReadOnly SPAPI_E_NO_SUCH_DEVINST As HResult = &H800F020B
        Public Shared ReadOnly SPAPI_E_CANT_LOAD_CLASS_ICON As HResult = &H800F020C
        Public Shared ReadOnly SPAPI_E_INVALID_CLASS_INSTALLER As HResult = &H800F020D
        Public Shared ReadOnly SPAPI_E_DI_DO_DEFAULT As HResult = &H800F020E
        Public Shared ReadOnly SPAPI_E_DI_NOFILECOPY As HResult = &H800F020F
        Public Shared ReadOnly SPAPI_E_INVALID_HWPROFILE As HResult = &H800F0210
        Public Shared ReadOnly SPAPI_E_NO_DEVICE_SELECTED As HResult = &H800F0211
        Public Shared ReadOnly SPAPI_E_DEVINFO_LIST_LOCKED As HResult = &H800F0212
        Public Shared ReadOnly SPAPI_E_DEVINFO_DATA_LOCKED As HResult = &H800F0213
        Public Shared ReadOnly SPAPI_E_DI_BAD_PATH As HResult = &H800F0214
        Public Shared ReadOnly SPAPI_E_NO_CLASSINSTALL_PARAMS As HResult = &H800F0215
        Public Shared ReadOnly SPAPI_E_FILEQUEUE_LOCKED As HResult = &H800F0216
        Public Shared ReadOnly SPAPI_E_BAD_SERVICE_INSTALLSECT As HResult = &H800F0217
        Public Shared ReadOnly SPAPI_E_NO_CLASS_DRIVER_LIST As HResult = &H800F0218
        Public Shared ReadOnly SPAPI_E_NO_ASSOCIATED_SERVICE As HResult = &H800F0219
        Public Shared ReadOnly SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE As HResult = &H800F021A
        Public Shared ReadOnly SPAPI_E_DEVICE_INTERFACE_ACTIVE As HResult = &H800F021B
        Public Shared ReadOnly SPAPI_E_DEVICE_INTERFACE_REMOVED As HResult = &H800F021C
        Public Shared ReadOnly SPAPI_E_BAD_INTERFACE_INSTALLSECT As HResult = &H800F021D
        Public Shared ReadOnly SPAPI_E_NO_SUCH_INTERFACE_CLASS As HResult = &H800F021E
        Public Shared ReadOnly SPAPI_E_INVALID_REFERENCE_STRING As HResult = &H800F021F
        Public Shared ReadOnly SPAPI_E_INVALID_MACHINENAME As HResult = &H800F0220
        Public Shared ReadOnly SPAPI_E_REMOTE_COMM_FAILURE As HResult = &H800F0221
        Public Shared ReadOnly SPAPI_E_MACHINE_UNAVAILABLE As HResult = &H800F0222
        Public Shared ReadOnly SPAPI_E_NO_CONFIGMGR_SERVICES As HResult = &H800F0223
        Public Shared ReadOnly SPAPI_E_INVALID_PROPPAGE_PROVIDER As HResult = &H800F0224
        Public Shared ReadOnly SPAPI_E_NO_SUCH_DEVICE_INTERFACE As HResult = &H800F0225
        Public Shared ReadOnly SPAPI_E_DI_POSTPROCESSING_REQUIRED As HResult = &H800F0226
        Public Shared ReadOnly SPAPI_E_INVALID_COINSTALLER As HResult = &H800F0227
        Public Shared ReadOnly SPAPI_E_NO_COMPAT_DRIVERS As HResult = &H800F0228
        Public Shared ReadOnly SPAPI_E_NO_DEVICE_ICON As HResult = &H800F0229
        Public Shared ReadOnly SPAPI_E_INVALID_INF_LOGCONFIG As HResult = &H800F022A
        Public Shared ReadOnly SPAPI_E_DI_DONT_INSTALL As HResult = &H800F022B
        Public Shared ReadOnly SPAPI_E_INVALID_FILTER_DRIVER As HResult = &H800F022C
        Public Shared ReadOnly SPAPI_E_NON_WINDOWS_NT_DRIVER As HResult = &H800F022D
        Public Shared ReadOnly SPAPI_E_NON_WINDOWS_DRIVER As HResult = &H800F022E
        Public Shared ReadOnly SPAPI_E_NO_CATALOG_FOR_OEM_INF As HResult = &H800F022F
        Public Shared ReadOnly SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE As HResult = &H800F0230
        Public Shared ReadOnly SPAPI_E_NOT_DISABLEABLE As HResult = &H800F0231
        Public Shared ReadOnly SPAPI_E_CANT_REMOVE_DEVINST As HResult = &H800F0232
        Public Shared ReadOnly SPAPI_E_INVALID_TARGET As HResult = &H800F0233
        Public Shared ReadOnly SPAPI_E_DRIVER_NONNATIVE As HResult = &H800F0234
        Public Shared ReadOnly SPAPI_E_IN_WOW64 As HResult = &H800F0235
        Public Shared ReadOnly SPAPI_E_SET_SYSTEM_RESTORE_POINT As HResult = &H800F0236
        Public Shared ReadOnly SPAPI_E_INCORRECTLY_COPIED_INF As HResult = &H800F0237
        Public Shared ReadOnly SPAPI_E_SCE_DISABLED As HResult = &H800F0238
        Public Shared ReadOnly SPAPI_E_UNKNOWN_EXCEPTION As HResult = &H800F0239
        Public Shared ReadOnly SPAPI_E_PNP_REGISTRY_ERROR As HResult = &H800F023A
        Public Shared ReadOnly SPAPI_E_REMOTE_REQUEST_UNSUPPORTED As HResult = &H800F023B
        Public Shared ReadOnly SPAPI_E_NOT_AN_INSTALLED_OEM_INF As HResult = &H800F023C
        Public Shared ReadOnly SPAPI_E_INF_IN_USE_BY_DEVICES As HResult = &H800F023D
        Public Shared ReadOnly SPAPI_E_DI_FUNCTION_OBSOLETE As HResult = &H800F023E
        Public Shared ReadOnly SPAPI_E_NO_AUTHENTICODE_CATALOG As HResult = &H800F023F
        Public Shared ReadOnly SPAPI_E_AUTHENTICODE_DISALLOWED As HResult = &H800F0240
        Public Shared ReadOnly SPAPI_E_AUTHENTICODE_TRUSTED_PUBLISHER As HResult = &H800F0241
        Public Shared ReadOnly SPAPI_E_AUTHENTICODE_TRUST_NOT_ESTABLISHED As HResult = &H800F0242
        Public Shared ReadOnly SPAPI_E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED As HResult = &H800F0243
        Public Shared ReadOnly SPAPI_E_SIGNATURE_OSATTRIBUTE_MISMATCH As HResult = &H800F0244
        Public Shared ReadOnly SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE As HResult = &H800F0245
        Public Shared ReadOnly SPAPI_E_DEVICE_INSTALLER_NOT_READY As HResult = &H800F0246
        Public Shared ReadOnly SPAPI_E_DRIVER_STORE_ADD_FAILED As HResult = &H800F0247
        Public Shared ReadOnly SPAPI_E_DEVICE_INSTALL_BLOCKED As HResult = &H800F0248
        Public Shared ReadOnly SPAPI_E_DRIVER_INSTALL_BLOCKED As HResult = &H800F0249
        Public Shared ReadOnly SPAPI_E_WRONG_INF_TYPE As HResult = &H800F024A
        Public Shared ReadOnly SPAPI_E_FILE_HASH_NOT_IN_CATALOG As HResult = &H800F024B
        Public Shared ReadOnly SPAPI_E_DRIVER_STORE_DELETE_FAILED As HResult = &H800F024C
        Public Shared ReadOnly SPAPI_E_UNRECOVERABLE_STACK_OVERFLOW As HResult = &H800F0300
        Public Shared ReadOnly SPAPI_E_ERROR_NOT_INSTALLED As HResult = &H800F1000
    End Class

End Namespace